package com.hanma.service;

import java.util.List;

import com.hanma.bean.User;

public interface UserService {
	boolean insert(User user);
	boolean update(User user,Integer id);
	boolean updateHead(Integer id,String head);
	boolean delete(Integer id);
	User find(String name,String password);
	User findById(Integer id);
	boolean findByName(String username);
	List<User> findAll();
	List<User> findAll(Integer start, Integer size);
}
